We rented a Stumpy Evo for a bimble round the Lost Lake trails a few weeks back and the shop mentioned they’d charge a fine if you took it into the bike park.
Not sure how they’d know unless you told them or returned the bikes wearing full armour and a full face.
Either way, Hob Nob et al are right, a DH bike is nice as they can take the abuse better, but a modern 150-160mm bike will be fine. The Whistler Blackcomb rental fleet is half and half Reigns and Glorys.
For me the DH bike comes into it’s own if your a) hammering down the rougher trails flat out or b) riding the park all day, the extra travel and slacker angles are nice to have when you’re getting tired.
I’ve taken my trail bike (140mm Norce Sight) into the park a few times and it’s fine, just as quick on the blues (if not quicker), but braking bumps are nasty on it and the short travel fork doesn’t give much of a bail out if things go wrong.