Yes, take the rails with it and there are only 4 bolts. Slide the seat forward to access the rear bolts. Then back to access the front ones. Once out, you will discover that the floor is not flat. The front is a couple inches higher than the back.
I see this is your first post. Welcome to the board. Over in the Diesel Discussion forum you can find out anything you want to know about the 240D. Your questions don't have to be diesel engine related.