The Dualshock 4 can only connect to the PS3 via charge cable. It doesn't actually pair with the system through bluetooth. It would still have been paired with the PS4 and working input on both.
What this guy did was silly. The DS4 doesn't completely replicate all of the PS3's controller functions. The Touchpad, the Share Button and the Home button do not work as the Select or Home buttons of the PS3. That said, why not just use the DS3 and be wireless in the first place?
Maybe because the DS3 controller sucks?
Personally I HATE the thing and also use the DS4 on my PS3 whenever possible as its so much more comfortable and responsive.
Edited by Alex Atkin UK, 16 March 2014 - 03:45 PM.