‘Just Stop Oil’ protest posed ‘serious harm’ risk to F1 drivers, court told